using System;

/// <summary>
/// Summary description for UserProfile
/// </summary>
/// 
namespace CE.PersonalAccident
{
    public class PersonalAccident
    {
        public PersonalAccident()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }
        private Int64 _paid;
        private string _covertype;
        private float _deathamount;
        private DateTime _dob;
        private string _occupation;
        private DateTime _spdob;
        private string _spoccupation;
        private Int16 _noofchild;
        private DateTime _inscommentdate;
        private bool _isacceptterm;
        //Start - Comment on 08/06/2010 Sakthi
        private string _surname;
        private string _phoneno;
        private string _email;
        //End
        private Int64 _refceuserid;
        private Int64 _vieweddetailid;
        //common field name
        private bool _status;
        private DateTime _createddate;
        private DateTime _modifieddate;

        //extra field for future extend
        private string _info1;
        private string _info2;
        private string _info3;
        private string _info4;
        private string _info5;
        private string _info6;
        private string _info7;
        private string _info8;
        private string _info9;
        private string _info10;

        public Int64 PAID
        {
            get { return _paid; }
            set { _paid = value; }
        }

        public string CoverType
        {
            get { return _covertype; }
            set { _covertype = value; }
        }

        public float DeathAmount
        {
            get { return _deathamount; }
            set { _deathamount = value; }
        }

        public DateTime DOB
        {
            get { return _dob; }
            set { _dob = value; }
        }

        public string Occupation
        {
            get { return _occupation; }
            set { _occupation = value; }
        }

        public DateTime SPDOB
        {
            get { return _spdob; }
            set { _spdob = value; }
        }

        public string SPOccupation
        {
            get { return _spoccupation; }
            set { _spoccupation = value; }
        }

        public Int16 NoOfChild
        {
            get { return _noofchild; }
            set { _noofchild = value; }
        }

        public DateTime InsCommentDate
        {
            get { return _inscommentdate; }
            set { _inscommentdate = value; }
        }

        public bool IsAcceptTerm
        {
            get { return _isacceptterm; }
            set { _isacceptterm = value; }
        }

        //Start - Comment on 08/06/2010 Sakthi
        public string SurName
        {
            get { return _surname; }
            set { _surname = value; }
        }

        public string PhoneNo
        {
            get { return _phoneno; }
            set { _phoneno = value; }
        }

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }
        //End

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public Int64 ViewedDetailId
        {
            get { return _vieweddetailid; }
            set { _vieweddetailid = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public string Info1
        {
            get { return _info1; }
            set { _info1 = value; }
        }

        public string Info2
        {
            get { return _info2; }
            set { _info2 = value; }
        }

        public string Info3
        {
            get { return _info3; }
            set { _info3 = value; }
        }

        public string Info4
        {
            get { return _info4; }
            set { _info4 = value; }
        }

        public string Info5
        {
            get { return _info5; }
            set { _info5 = value; }
        }

        public string Info6
        {
            get { return _info6; }
            set { _info6 = value; }
        }

        public string Info7
        {
            get { return _info7; }
            set { _info7 = value; }
        }

        public string Info8
        {
            get { return _info8; }
            set { _info8 = value; }
        }

        public string Info9
        {
            get { return _info9; }
            set { _info9 = value; }
        }

        public string Info10
        {
            get { return _info10; }
            set { _info10 = value; }
        }

        public void ClearFields()
        {
            _paid = 0;
            _covertype = "";
            _deathamount = 0.0f;
            _dob = CE.Global.General.GetUTCDateTime();
            _occupation = "";
            _spdob = CE.Global.General.GetUTCDateTime();
            _spoccupation = "";
            _noofchild = 0;
            _inscommentdate = CE.Global.General.GetUTCDateTime();
            _isacceptterm = false;
            _surname = "";
            _email = "";
            _phoneno = "";
            _refceuserid = 0;
            _vieweddetailid = 0;
            //common field name
            _status = false;
            _createddate = CE.Global.General.GetUTCDateTime();
            _modifieddate = CE.Global.General.GetUTCDateTime();

            //extra field for future extend
            _info1 = "";
            _info2 = "";
            _info3 = "";
            _info4 = "";
            _info5 = "";
            _info6 = "";
            _info7 = "";
            _info8 = "";
            _info9 = "";
            _info10 = "";
        }

    }
}
